package com.winshare.saleAssistant.service;

import com.winshare.saleAssistant.domain.dto.req.*;
import com.winshare.saleAssistant.domain.dto.resp.ArticlePreviewDTO;
import com.winshare.saleAssistant.domain.dto.resp.ArticleRespDTO;
import com.winshare.saleAssistant.util.Page;

public interface ArticleService {

    void save(ArticleCreateDTO articleCreateDTO);

    void update(ArticleUpdateDTO articleUpdateDTO);

    void delete(ArticleDeleteDTO articleDeleteDTO);

    Page<ArticleRespDTO> getArticleList(ArticleQueryDTO articleQueryDTO);

    void cancelArticle(BaseIdDTO articleIdDTO);

    ArticlePreviewDTO previewArticle(BaseIdDTO articleIdDTO);

    void submitArticle(ArticleIdDTO articleIdDTO);

    void agreeIssueArticle(BaseIdDTO articleIdDTO);

    void agreeNoIssueArticle(BaseIdDTO articleIdDTO);

    ArticleRespDTO getArticleDetail(BaseIdDTO baseIdDTO);

    void addReadCount(BaseIdDTO articleIdDTO);

    void addPromotionTimes(BaseIdDTO baseIdDTO);

//    void releaseIssueArticle(BaseIdDTO articleIdDTO);
}
